package crm.entity;

import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;

/**
 * SysRole entity. @author MyEclipse Persistence Tools
 */

public class SysRole implements java.io.Serializable {

	// Fields

	private BigDecimal roleId;
	private SysDemp sysDemp;
	private String roleName;
	private Set sysUses = new HashSet(0);

	// Constructors

	/** default constructor */
	public SysRole() {
	}

	/** minimal constructor */
	public SysRole(String roleName) {
		this.roleName = roleName;
	}

	/** full constructor */
	public SysRole(SysDemp sysDemp, String roleName, Set sysUses) {
		this.sysDemp = sysDemp;
		this.roleName = roleName;
		this.sysUses = sysUses;
	}

	// Property accessors

	public BigDecimal getRoleId() {
		return this.roleId;
	}

	public void setRoleId(BigDecimal roleId) {
		this.roleId = roleId;
	}

	public SysDemp getSysDemp() {
		return this.sysDemp;
	}

	public void setSysDemp(SysDemp sysDemp) {
		this.sysDemp = sysDemp;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set getSysUses() {
		return this.sysUses;
	}

	public void setSysUses(Set sysUses) {
		this.sysUses = sysUses;
	}

}